<template>
    <div id="header">
        <van-row>
            <van-col span="2" @click="$router.go(-1)"><img src="@assets/imgs/后退.png" /></van-col>
            <van-col span="20" v-text="$route.meta.title"></van-col>
            <van-col span="2"></van-col>
        </van-row>
    </div>
</template>
<script>
import {Row,Col} from 'vant';
export default {
    name:"Header",
    props:{
        title:{
            type:String
        }
    }
}
</script>

